package com.aierjun.notepadjun;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

/**
 * Created by aierJun on 2016/6/18.
 */
public class NewEmailActivity extends AppCompatActivity {
    private Button btn;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_new_email_form);
        findView();
        initView();
    }
    protected void findView(){
        btn= (Button) findViewById(R.id.baocun_email);
    }
    protected void initView(){
        btn.setOnClickListener(onClickListener);

    }
    private View.OnClickListener onClickListener=new View.OnClickListener() {
        @Override
        public void onClick(View view) {
            startActivity(new Intent(NewEmailActivity.this,NewListActivity.class));
        }
    };
}
